#include <stdio.h>
double f(double a)
{double b;
 b=4.0/3.0*a*a*a;
 return b;
}
int main()
{
double x;
while(scanf("%lf",&x))
{
printf("%lf",f(x));
}
return 0;
}